﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Alma.Controllers
{
    public class AccountController : Controller
    {
        //
        // GET: /Account/

        /// <summary>
        /// Little redirection to use the [Authorize] attribute
        /// </summary>
        /// <param name="returnUrl"></param>
        /// <returns></returns>
        public ActionResult Login(string returnUrl)
        {
            return RedirectToAction ("Connect", new {controller = "User", returnUrl = returnUrl});
        }

    }
}
